@charset "UTF-8";
.box {
  height: 100vh;
  background-image: url("../../assets/1.png");
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box .row {
  width: 320px;
  height: 300px;
  background: rgba(255, 255, 255, 0.401);
  padding: 20;
  border-radius: 20px;
  box-shadow: "0 2px 8px rgba(0,0,0,0.1)";
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 抖动动画 */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.animate-shake {
  animation: shake 0.5s ease-in-out;
}

/* 滑块验证码样式 */
.captcha-container {
  width: 100%;
}

/* 图片验证码样式 */
.captcha-image {
  transition: all 0.3s ease;
}

.captcha-image:hover:not(.verified) {
  border-color: #165dff;
  background-color: #f5f8ff;
}

.verified {
  cursor: default !important;
}

/* 确保与Ant Design按钮风格一致 */
.ant-btn-primary {
  background-color: #165dff;
  border-color: #165dff;
}

.ant-btn-primary:hover,
.ant-btn-primary:focus {
  background-color: #4080ff;
  border-color: #4080ff;
}

.ant-btn-primary:active {
  background-color: #0e42d2;
  border-color: #0e42d2;
}

/* 滑块验证成功状态样式 */
.captcha-success {
  color: #52c41a;
}

/* 滑块验证失败状态样式 */
.captcha-failed {
  color: #ff4d4f;
}
